<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>hello</title>
<script type="text/javascript" src="../../../static/flexpaper/flexpaper_flash.js"></script>

</head>
<body>
		<div style="position:absolute;left:10px;top:10px;">
	        <a id="viewerPlaceHolder" style="width:680px;height:480px;display:block"></a>
	     </div> 
	        <script type="text/javascript"> 
				var fp = new FlexPaperViewer(	
						 '../../../static/flexpaper/FlexPaperViewer',
						 'viewerPlaceHolder', { config : {
						 SwfFile : escape('http://localhost:8080/g305_download/resource/swf/201210091349782242398.swf'),
						 Scale : 1, 
						 ZoomTransition : 'easeOut',
						 ZoomTime : 0.5,
						 ZoomInterval : 0.2,
						 FitPageOnLoad : true,
						 FitWidthOnLoad : false,
						 FullScreenAsMaxWindow : false,
						 ProgressiveLoading : false,
						 MinZoomSize : 0.2,
						 MaxZoomSize : 5,
						 SearchMatchAll : false,
						 InitViewMode : 'Portrait',
						 PrintPaperAsBitmap : false,
						 
						 ViewModeToolsVisible : true,
						 ZoomToolsVisible : true,
						 NavToolsVisible : true,
						 CursorToolsVisible : true,
						 SearchToolsVisible : true,
  						 localeChain: 'en_US'
						 }});
				
				 $('#documentViewer').FlexPaperViewer( 
	                        { config : {
	                          SwfFile : "Paper.swf",
	                          IMGFiles : "Paper.pdf_{page}.png",
	                          JSONFile : "Paper.pdf.js",
	                          PDFFile : "Paper.pdf",
	                          Scale : 0.6,
	                          ZoomTransition : "easeOut",
	                          ZoomTime : 0.5,
	                          ZoomInterval : 0.1,
	                          FitPageOnLoad : false,
	                          FitWidthOnLoad : false,
	                          FullScreenAsMaxWindow : true,
	                          ProgressiveLoading : true,
	                          MinZoomSize : 0.2,
	                          MaxZoomSize : 5,
	                          SearchMatchAll : false,
	                          InitViewMode : 'Portrait',
	                                 
	                          ViewModeToolsVisible : true,
	                          ZoomToolsVisible : true,
	                          NavToolsVisible : true,
	                          CursorToolsVisible : true,
	                          SearchToolsVisible : true,
	                                
	                          localeChain : "en_US"
	                }});
	        </script>
</body>
</html>